The Advanced Calendar Component > FAdvancedCalendar.getDataProvider()

 

FAdvancedCalendar.getDataProvider()

Availability

Flash Player 6.

Usage

myCalendar.getDataProvider();

Parameters

None.

Returns

The DataProvider of the Calendar.

Description

Gets the DataProvider that the Calendar is using.

Example

The following example shows how to set the DataProvider from a remoting call and then fetch the DataProvider for use later.

remoting_Result = function(dp){
myCalendar.setDataProvider(dp);
calDP = myCalendar.getDataProvider();
calDP.addItem("Stubbed Item");
}

See also

FAdvancedCalendar.setDataProvider